package com.example.getfromservice.Category;



public class Category {
	
	private int idDB;
	private String name;
	private int id;
    private int changes;  // 0 - nothing ; 1 - update; 2 - new ;  3- delete
    
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getID() {
		return id;
	}
	
	public void setID(int iD) {
		id = iD;
	}

	public int getChanges() {
		return changes;
	}
	
	public void setChanges(int changes) {
		this.changes = changes;
	}

	public int getIdDB() {
		return idDB;
	}

	public void setIdDB(int idDB) {
		this.idDB = idDB;
	}
	
	// Will be used by the ArrayAdapter in the ListView
	@Override 
	public String toString() {
	    return name;
	}

}
